﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EzDesk.EventAggregation;
using System.Windows;

namespace EzDesk.DesktopClient.Event
{
    public class MainWindowMoveArgs
    {
        public object MainWindow { get; set; }
    }

    public class MainWindowMoveEvent : CompositeEvent<MainWindowMoveArgs>
    {
        private static MainWindowMoveEvent _instance;
        public static MainWindowMoveEvent Instance
        {
            get
            {
                if (_instance == null)
                {
                    _instance = EventAggregator<MainWindowMoveEvent>.GetEvent();
                }
                return _instance;
            }
        }
    }
}
